package phone.qyg.com.qyg.adapter;

import android.content.Context;

import com.app.adapter.list.CommonAdapter;
import com.app.adapter.list.ViewHolder;
import com.app.utils.OptionImageUtils;

import java.util.List;

import phone.qyg.com.qyg.R;
import phone.qyg.com.qyg.model.Culture;

public class CulturalMarkAdapter extends CommonAdapter<Culture> {
    public CulturalMarkAdapter(Context context,List datas) {
        super(context, R.layout.item_cultural_mark, datas);
    }

    @Override
    protected void convert(ViewHolder viewHolder, Culture item, int position) {
        viewHolder.setImage(R.id.iv_img,item.fixImgUrl, OptionImageUtils.getRectRatioAct());
    }
}
